let file;
const queryString = document.location.search.substring(1);
const params = parseQueryString(queryString);
file = params.get("file");
document.getElementById("imgViewerContainer").src=file;
function parseQueryString(query) {
    const params = new Map();
    for (const [key, value] of new URLSearchParams(query)) {
        params.set(key.toLowerCase(), value);
    }
    return params;
}
